<div id="updateDialog" class="crudDialog">
    <form id="SecPermissionupdateForm" method="post">

        <div class="form-group col-md-12">
            <label class="col-md-2" for="name">权限名称</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="name" type="text" class="form-control" name="name" maxlength="100" th:value="*{bean.name}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="value">权限值</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="value" type="text" class="form-control" name="value" maxlength="200" th:value="*{bean.value}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="uri">资源路径</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="uri" type="text" class="form-control" name="uri" maxlength="400" th:value="*{bean.uri}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="icon">资源图标</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="icon" type="text" class="form-control" name="icon" maxlength="100" th:value="*{bean.icon}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="orders">顺序</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="orders" type="text" class="form-control" name="orders" maxlength="2" th:value="*{bean.orders}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="other">其他授权资源</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="other" type="text" class="form-control" name="other" maxlength="500" th:value="*{bean.other}"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group text-right dialog-buttons">
            <input type="hidden" name="permissionId" th:value="*{bean.permissionId}"/>
            <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
            <button class="waves-effect waves-button" id="btn-SecUser-update">保存</button>
            <a class="waves-effect waves-button" href="javascript:;" onclick="updateDialog.close();">取消</a>
        </div>
    </form>
</div>